<h2>编辑个人资料</h2>
<form class="form-horizontal well personal-info" action="__SELF__" method="POST">
    <input type="HIDDEN" name="id" value="{$user.id}" />
    <fieldset>
        <legend>基本信息</legend>
        <div class="control-group">
            <label class="control-label"><strong>姓名：</strong></label>
            <div class="controls">
                <div class="input-append">
                    <input type="TEXT" class="span12" name="name" value="{$user.name}" />
                    <span class="add-on"><i class="icon-user"></i></span>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>邮箱：</strong></label>
            <div class="controls">
                <div class="input-append">
                    <input type="TEXT" class="span12" name="email" value="{$user.email}" />
                    <span class="add-on"><i class="icon-envelope"></i></span>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>手机：</strong></label>
            <div class="controls">
                <div class="input-append">
                    <input type="TEXT" class="span12" name="phone" value="{$user.phone}" />
                    <span class="add-on"><i class="icon-phone"></i></span>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>QQ：</strong></label>
            <div class="controls">
                <div class="input-append">
                    <input type="TEXT" class="span12" name="qq" value="{$user.qq}" />
                    <span class="add-on">Q</span>
                </div>
            </div>
        </div>
    </fieldset>

    <fieldset>
        <legend>网站信息</legend>
        <div class="control-group">
            <label class="control-label"><strong>届：</strong></label>
            <div class="controls">
                <select id="edit-session" data-id="{$user['session']['id']}">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>部门：</strong></label>
            <div class="controls">
                <select id="edit-department" data-id="{$user['department']['id']}">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>职位：</strong></label>
            <div class="controls">
                <select id="edit-post" name="post_id" data-id="{$user['post_id']}">
                </select>
            </div>
        </div>
    </fieldset>

    <fieldset>
        <legend>其他</legend>
        <div class="control-group">
            <label class="control-label"><strong>个人签名：</strong></label>
            <div class="controls">
                <textarea id="" name="signature" rows="5" cols="80">{$user.signature}</textarea>
            </div>
        </div>
    </fieldset>

    <fieldset>
        <div class="control-group">
            <div class="controls">
                <button type="submit" class="btn btn-primary btn-large">修改个人信息</button>
            </div>
        </div>
    </fieldset>
</form>
